package com.tchintech.pay.model.entity;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/7/6 0006.
 */

public class User implements Serializable {


    private String phone;
    private String username;
    private String id;
    private String gradesid;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGradesid() {
        if (gradesid == null || gradesid.equals("")) {
            gradesid = "1";
        }
        return gradesid;
    }

    public void setGradesid(String gradesid) {
        this.gradesid = gradesid;
    }

    @Override
    public String toString() {
        return "User{" +
                "phone='" + phone + '\'' +
                ", username='" + username + '\'' +
                ", id='" + id + '\'' +
                ", gradesid='" + gradesid + '\'' +
                '}';
    }
}